package com.timebank.score.service;

import com.timebank.common.core.web.pojo.AjaxResult;
import com.timebank.score.pojo.entity.Prize;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 奖品 接口类
 * @author shiliuyinzhen
 */
@Service
public interface PrizeService {

    /**
     * 获取奖品列表
     *
     * @return
     */
    List<Prize> getPrizeList();

    /**
     * 新增奖品
     * @param prize
     * @return
     */
    AjaxResult addPrize(Prize prize);

    /**
     * 批量删除奖品
     * @param prizeIds
     * @return
     */
    AjaxResult batchDeletePrize(Long[] prizeIds);

    /**
     * 修改奖品信息
     * @param prize
     * @return
     */
    AjaxResult updatePrize(Prize prize);

    /**
     * 查询奖品信息
     * @param prize
     * @return
     */
    Prize getPrize(Prize prize);
}
